package com.scs.application.modules.base.service;

import com.scs.application.core.service.IBaseService;
import com.scs.application.modules.base.dto.UserWareHouseDTO;
import com.scs.application.modules.base.entity.UserWarehouse;
import com.scs.application.modules.base.vo.UserWarehouseVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Service
 * </p>
 */

public interface UserWarehouseService extends IBaseService<UserWarehouse> {
    List<UserWarehouseVO> getUserWarehouse();

    /**
     * 设置用户仓库
     * @param userWareHouseDTO
     */
    void setUserWareHouse(UserWareHouseDTO userWareHouseDTO);
    /**
     * 用户或者科室权限设置界面查询
     */
    List<UserWarehouseVO> getUserWarehouseBySettype(@Param("sql")String sql);

}
